# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zsh-history-substring-search
pkgver=1.0.2
pkgrel=3
pkgdesc="Zsh port of the Fish shell's history search"
url="https://github.com/zsh-users/zsh-history-substring-search"
arch="noarch"
license="BSD-3-Clause"
depends="zsh"
source="https://github.com/zsh-users/zsh-history-substring-search/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
options="!check"  # upstream does not provide tests

package() {
	install -D -m644 *.zsh -t "$pkgdir"/usr/share/zsh/plugins/$pkgname/
}

sha512sums="
9547cdd74f6bd5b102ca29b7b455cd4ce7450fe86864b5a149365de4c37d3da887edb403b195e80c142fe61861a3e4c063a5d8ba08ec0532b27a1207c80a023d  zsh-history-substring-search-1.0.2.tar.gz
"
